#include <stdio.h>

main() {
    char c; 
    double blanks, newlines, tabs; 
    int i;
    
    while ( ( c = getchar() ) != EOF ) { 
	if ( c == 32 ) blanks++; 
	if ( c == 10 ) newlines++; 
	if ( c == 9 ) tabs++; 
    }

    printf("\n"); 
    printf("blanks %0.f\n", blanks); 
    printf("newlines %0.f\n", newlines); 
    printf("tabs %0.f\n", tabs); 
}
